<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
Success
<div th:utext="${hello}"></div>
<hr/>

<!-- 遍历-->
<h4 th:each="user:${users}" th:text="${user}"></h4>
<hr/>
<!--单行遍历-->
<div>
    <span th:each="user:${users}" th:text="${user}"> [[${user}]] </span>
</div>
</body>
</html>